/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package tp2ia_partie1.objects;

import java.util.List;

/**
 *
 * @author hp
 */
public class Fonction extends Atome{
    

    private List<Atome> Atomes;

    public Fonction(String C) {
        super(C);
    }

    public List<Atome> getAtomes() {
        return Atomes;
    }
    
    public boolean apparait(Atome a){
        return Atomes.contains(a);
    }
    
    
}
